#ifndef STARCRAFTREGISTRYEDITOR_H
#define STARCRAFTREGISTRYEDITOR_H

//#include "stdafx.h"

#include <qobject.h>
#include <qstring.h>


#include "voregistry.h"



class StarcraftRegistryEditor : public QObject
{
Q_OBJECT

public:
    StarcraftRegistryEditor( QObject* parent = 0, const char* name = 0 );
    
    bool isInitialized() const;

    QString readJoinGame();
public slots:
    bool writeJoinGame( const QString& gameName );
private:
    const QString RECENT_GAMES_KEY; // The registry key to find the
				    // previous game.
    
    QString valueKey_;
    HKEY hKey_;
};


#endif
